import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { ReportFormComponent } from './compoment/report-formting/report-formting.component';
import { ListService } from '../computer/services/list.service';

const routes: Routes = [
  {
    path: '',
    pathMatch: 'full',
    redirectTo: 'info',
  },
  {
    path: '',
    data: {
      title: '报表管理',
    },
    component: ReportFormComponent,
    // runGuardsAndResolvers: 'always',
  /*  children: [
      {
        path: 'admin',
        component: ReportFormComponent,
        data: {
          title: '终端列表',
        },
        runGuardsAndResolvers: 'always',
        resolve: {
          list: ListService,
        },
      },
    ],*/
  },
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule],
})
export class FormRoutingModule {

}
